let ErrorUtils = require('../utils/error/ErrorUtils');
let {City} = require('../models');
const {infoLogger, errorLogger} = require('../config').logger;
const Joi = require('joi');

class BannerService {

    /**
     * 获取城市列表
     * @returns {Promise<void>}
     */
    static async list() {
        infoLogger.info(">>>>>获取banner列表开始");
        let data = [
            {
                title: "图1",
                logo: "uploads/2019-7-8/1562591024162.jpeg"
            },
            {
                title: "图2",
                logo: "uploads/2019-7-8/1562591057671.jpeg"
            },
            {
                title: "图3",
                logo: "uploads/2019-7-8/1562591081509.jpeg"
            },
        ];
        return data;
    }
}

module.exports = BannerService;
